﻿using MediatR;
using ShineTech.Web.Kanbans;
using System;

namespace ShineTech.Web.Kanbans.Commands
{
    public class UpdateKanbanCommand : IRequest<KanbanDTO>
    {


        public UpdateKanbanCommand(Guid id, string name, Guid updatedUserId, string updatedUserName, DateTime updatedTime)
        {
            Id = id;
            Name = name ?? throw new ArgumentNullException(nameof(name));
            UpdatedUserId = updatedUserId;
            UpdatedUserName = updatedUserName ?? throw new ArgumentNullException(nameof(updatedUserName));
            UpdatedTime = updatedTime;
        }

        public Guid Id { get; set; }
        public string Name { get; set; }

        public Guid UpdatedUserId { get; set; }

        public string UpdatedUserName { get; set; }

        public DateTime UpdatedTime { get; set; }





    }

}
